package com.gamex.findit.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.gamex.findit.model.MemberSkill;

/**
 * 회원 스킬
 * @author james
 *
 */
public interface MemberSkillMapper {

	/** 리스트*/
	List<MemberSkill> selectMemberSkill(MemberSkill memberSkill);
	
	/** 총카운트*/
	int selectMemberSkillCount(MemberSkill memberSkill);
	
	/** 상세*/
	MemberSkill selectMemberSkillView(@Param("skillId")int skillId,@Param("userId") String userId);
	
	/** 회원 스킬 체크*/
	MemberSkill checkMemberSkill(@Param("skillId")int skillId,@Param("userId") String userId);
	
	/** 등록*/
	int insertMemberSkill(MemberSkill memberSkill);
	
	/** 수정*/
	void updateMemberSkill(MemberSkill memberSkill);
	
	/** 삭제*/
	void deleteMemberSkill(@Param("skillNo")int skillNo);
	
	/** 삭제*/
	void deleteMemberSkillBySkillSeq(@Param("skillSeq")int skillSeq);
	
}
